<template>
  <div class="h-full bg-black text-white overflow-auto">
    <p v-html="currentQuery.result"></p>
  </div>
</template>
<script lang="ts" setup>
  import { ref, onMounted } from 'vue';
  import { useRouter } from 'vue-router';

  const { currentRoute } = useRouter();
  const currentQuery = ref({});
  onMounted(() => {
    currentQuery.value = currentRoute.value?.query;
    console.log(' currentQuery.value ', currentQuery.value);
  });
</script>
